package exercises;

/**
 * Client
 */
public class Main {

    public static void main(String[] args) throws Exception{
        FileIO f = new FileProperties();

        f.readFromFile("D:\\学习项目\\graphic-design-patterns\\adapterpattern\\src\\main\\resources\\file.txt");
        f.setValue("year", "2004");
        f.setValue("month", "4");
        f.setValue("day", "21");
        f.writeToFile("D:\\学习项目\\graphic-design-patterns\\adapterpattern\\src\\main\\resources\\newfile.txt");
    }
}
